<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="engineer.automatapp.automat.Automat" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="style.css" type="text/css" />
<script type="text/javascript" src="js/buy.js"></script>
<title>Automat Sprzedający</title>
</head>

<%
final int id=1;

Automat automat = new Automat();
automat.setId(id);
int machineID = automat.getId();
%>
<body>
<input type="hidden" value=<%=machineID %> id="machineID"/>
<div id="container">
    
<div id="naglowek"></div>
	
<div id="menu">
  <ul>
  <li><a href="index.jsp">Strona Główna</a></li>
  <li><a href="index.jsp?page=buy">Kup Produkt</a></li>
  </ul>
</div>
	
<div id="lewy">
    <dl>
    <dt>Menu</dt>
    <dd><img src="images/ptk.jpg" alt="menu" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.jsp"><b>Strona Główna</b></a></dd>
    <dd><img src="images/ptk.jpg" alt="menu" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.jsp?page=buy">Kup Produkt</a></dd>

    </dl>
<div id="bottom"></div>
</div>


<div id="srodek">
     <jsp:include page="/WEB-INF/change.jsp" />

</div>	

<div id="stopka">
<div id="copyright">Copyright by Wojciech Śliwa</div>
<div id="design">Design by <a href="#" target="_blank">Wojciech Śliwa</a></div>
</div>
    
</div>    
</body>

</html>